Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@sveltejs/vite-plugin-svelte-inspector
Advanced tools
A [Svelte](https://svelte.dev) inspector plugin for [Vite](https://vitejs.dev).
@sveltejs/vite-plugin-svelte-inspector is a Vite plugin that provides an inspector for Svelte components. It allows developers to inspect and debug Svelte components directly within the browser, making it easier to understand component structure, state, and props.
Component Inspection
This feature allows you to inspect Svelte components directly in the browser. By integrating the svelteInspector plugin into your Vite configuration, you can click on components in the browser to see their state, props, and other details.
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import { svelteInspector } from '@sveltejs/vite-plugin-svelte-inspector';
export default defineConfig({
plugins: [
svelte(),
svelteInspector()
]
});
State and Props Debugging
This feature enables detailed debugging of component state and props. By configuring the svelteInspector plugin with options like showState and showProps, you can view the current state and props of any Svelte component in your application.
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import { svelteInspector } from '@sveltejs/vite-plugin-svelte-inspector';
export default defineConfig({
plugins: [
svelte(),
svelteInspector({
showState: true,
showProps: true
})
]
});
react-devtools is a set of tools for inspecting the React component hierarchy in the browser. It provides similar functionality to @sveltejs/vite-plugin-svelte-inspector but is specifically designed for React applications. It allows developers to inspect component trees, view state and props, and debug React components.
vue-devtools is a browser extension for debugging Vue.js applications. It offers features similar to @sveltejs/vite-plugin-svelte-inspector, such as inspecting component trees, viewing state and props, and debugging Vue components. It is tailored for Vue.js applications and provides a comprehensive set of tools for Vue developers.
A Svelte inspector plugin for Vite.
// vite.config.js
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import { svelteInspector } from '@sveltejs/vite-plugin-svelte-inspector';
export default defineConfig({
plugins: [
// the svelte plugin is required to work
svelte(),
svelteInspector({
/* plugin options */
})
]
});
FAQs
A [Svelte](https://svelte.dev) inspector plugin for [Vite](https://vitejs.dev).
The npm package @sveltejs/vite-plugin-svelte-inspector receives a total of 0 weekly downloads. As such, @sveltejs/vite-plugin-svelte-inspector popularity was classified as not popular.
We found that @sveltejs/vite-plugin-svelte-inspector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.